<template>
  <div class="top">
      <div class="nav">
        <div class="bg" @click="go()" :style="img">
        </div>
        <p>马蜂窝用户的马蜂窝主页</p>
        <span :style="img">
        </span>
    </div>
    <div class="banner">
        <div class="img">
            <img src="img/selfbg.jpg" alt="">
        </div>
        <div class="bd">
            <img src="img/tou.png" alt="">
            <p>马蜂窝用户 <span>Lv1</span></p>
        </div>
        <div class="state">
            <li><span>0</span><br>关注</li>
            <li><span>0</span><br>粉丝</li>
            <li><span>0</span><br>金币</li>
        </div>
    </div>
    <div class="list">
        <li class="on">笔记</li>
        <li>游记0</li>
        <li>回答</li>
    </div>
    <div class="lin">
        还没有发布笔记呢
    </div>
  </div>
</template>

<script>
export default {
   methods:{
       go(){
           this.$router.go(-1);
       }
   },
   data(){
       return {
           img:{backgroundImage: "url(" + require("sta/head.png") + ")"}
       }
   }
}
</script>

<style scoped>
    .nav{
        width: 100%;
        background-color: #fff;
        border-bottom: 1px solid #e5e5e5;
        height: 1.25rem;
        display: flex;
        justify-content: space-between;
    }
    .nav .bg{
        background: url(/img/head.png) no-repeat;
        background-size: 100px 300px;
        display: inline-block;
        height: 1.25rem;
        width: 1.25rem;
    }
    .nav span{
        background: url(/img/head.png) no-repeat;
        background-size: 100px 324px;
        background-position: -1.33rem -1.33rem;
        display: inline-block;
        height: 1.25rem;
        width: 1.25rem;
    }
    .nav p{
        font-size: 0.4rem;
        line-height: 1.25rem;
        height: 1.25rem;
        color: #666;
    }
    .banner{
        position: relative;
    }
    .banner .img{
        background-color: #f2f2f2;
        filter: blur(0.02066667rem);
        width: 100%;
        height: 7rem;
        overflow: hidden;
        margin-top: 0.1rem;
    }
    .banner .img img{
        width: 100%;
    }
    .banner .bd{
        position: absolute;
        width: 50%;
        left: .5333333333rem;
        top: .5333333333rem;
        right: .5333333333rem;
        z-index: 2;
    }
    .banner .bd img{
        width: 1.5rem;
        height: 1.5rem;
        border-radius: 50%;
    }
    .banner .bd p{
        font-weight: 600;
        line-height: 1;
        font-size: .5rem;
        text-shadow: 0 0 0.0266666667rem rgba(0,0,0,0.5);
        color: #fff;
        margin-top: 0.4rem;
    }
    .banner .bd span{
        display: inline-block;
        border: 1px solid #111;
        padding: 0.05rem;
        width: 0.4rem;
        height: 0.2rem;
        font-size: 0.2rem;
        position: relative;
        left: 0.05rem;
        bottom: 0.05rem;
        color: #666;
        font-weight: normal;
    }
    .state{
        position: absolute;
        height: 0.9rem;
        bottom: 0.6rem;
        left: 0.6rem;
    }
    .state li{
        float: left;
        width: 0.9rem;
        height: 0.9rem;
        margin-right: 0.5rem;
        text-align: center;
    }
    .state li{
        font-size: 0.4rem;
        color: #fff;
    }
    .state li span{
        font-weight: bold;
    }
    .list{
        width: 100%;
        height: 1.25rem;
        display: flex;
        justify-content: space-between;
    }
    .list li{
        width: 33.3%;
        height: 100%;
        line-height: 1.25rem;
        text-align: center;
        font-size: 0.38rem;
        color: #666;
        background-color: #f8f8f8;
    }
    .list .on{
        color: #474747;
        font-weight: bold;
        border-bottom: 2px solid #ffe24c;
    }
    .lin{
        font-size: 0.4rem;
        padding-left: 0.4rem;
        padding-top: 0.4rem;
        color: #666;
    }
</style>